<?php /* Smarty version 2.6.18, created on 2009-05-07 07:20:21
         compiled from member/default/product.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'member/default/product.html', 79, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
" />
<title>产品展示-<?php echo $this->_tpl_vars['cinfo']['CompanyName']; ?>
&nbsp;<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<style type="text/css">
<!--
body {
	margin-top: 3px;
}
-->
</style>
<link href="<?php echo $this->_tpl_vars['I_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/top.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align="center"><table width="778" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="7">&nbsp;</td>
        <td width="538" valign="top" style="padding-bottom:5px;padding-top:5px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="55"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="40%" align="left"><img src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/cptu.gif" width="41" height="36" /><img src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/product.gif" width="81" height="20" hspace="5" /></td>
                  <td width="60%" align="right" valign="bottom">
                  <div align="right">
                    <table width="52%" height="48" border="0" align="right" cellpadding="3" cellspacing="3" class="style">
                      <tr> 
                        <td width="24%" height="42"> <div align="right"><span class="tile2"><img src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/search.gif" /></span></div></td>
                        <td width="76%"><div align="left"><span class="fonthong"><strong>按分类查看产品:</strong></span> 
                            <select name="product_type"onchange="javascript:location.href='./product.php?userid=<?php echo $_GET['userid']; ?>
&tid='+this.value">
                            <option value="0">请选择类别</option>
							<?php $_from = $this->_tpl_vars['ProductTypes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['typeselect'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['typeselect']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['types']):
        $this->_foreach['typeselect']['iteration']++;
?>
							<option value="<?php echo $this->_tpl_vars['types']['ID']; ?>
" <?php if ($this->_tpl_vars['types']['ID'] == $_GET['tid']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['types']['Name']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>
                          </select>
                          </div></td>
                      </tr>
                    </table>
                  </div>
                  </td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td bgcolor="#F8F8F8" style="padding-top:5px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                <tr>
                  <td height="1" background="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/line.gif"></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
			  <!-- 单个产品-->
			  <?php $_from = $this->_tpl_vars['Products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['companyproducts'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['companyproducts']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['p']):
        $this->_foreach['companyproducts']['iteration']++;
?>
                <td width="25%" valign="top">
                <TABLE border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD width=8 height=8><IMG height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/a_1.gif" 

            width=8 border=0></TD>
      <TD align=right background="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/b_1.gif" height=8><IMG 

            height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/c_1.gif" width=34 border=0></TD>
      <TD width=8 height=8><IMG height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/d_1.gif" 

            width=8 border=0></TD>
    </TR>
    <TR>
      <TD vAlign=top width=8 background="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/a_3.gif"><IMG 

            height=32 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/a_2.gif" width=8 border=0></TD>
      <TD bgColor=#ffffff><table border="0" cellpadding="6" cellspacing="0">
        <tr>
          <td><div align="center"><img src="<?php echo $this->_tpl_vars['attachment_dir']; ?>
<?php echo $this->_tpl_vars['p']['ProductPicture']; ?>
.small.jpg" width="75" height="75"></div></td>
        </tr>
        <tr>
          <td><div align="center" style="border-style:outset #ffdab9;background-color:#FFFFE0; border-width:3px;"><a target="_blank" href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
product/content.php?id=<?php echo $this->_tpl_vars['p']['ID']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['p']['Name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 15) : smarty_modifier_truncate($_tmp, 15)); ?>
</a></div></td>
        </tr>
      </table></TD>
      <TD vAlign=bottom width=8 background="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/d_2.gif"><IMG 

            height=24 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/d_3.gif" width=8 border=0></TD>
    </TR>
    <TR>
      <TD width=8 height=8><IMG height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/a_4.gif" 

            width=8 border=0></TD>
      <TD align=left background="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/c_4.gif" height=8><IMG 

            height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/b_4.gif" width=25 border=0></TD>
      <TD width=8 height=8><IMG height=8 src="<?php echo $this->_tpl_vars['I_PATH']; ?>
images/d_4.gif" 

            width=8 border=0></TD>
    </TR>
  </TBODY>
</TABLE>
                </td>
				  <?php if (!($this->_foreach['companyproducts']['iteration'] % 4)): ?>
			  </tr>
              				  <?php endif; ?>
				  <?php endforeach; endif; unset($_from); ?>
				  <!-- :~单个产品-->

                  </table></td>
                </tr>
				
				<tr>
                  <td><div id="pageDIV"><?php echo $this->_tpl_vars['ByPages']; ?>
</div></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
        <td align="right" valign="top"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/menu.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
      </tr>
    </table></td>
</tr>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['TplPath'])."/foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>